﻿using System;
using System.Collections.Generic;
using System.Text;
using OpenLab.DAL;
using OpenLab.Model;

namespace OpenLab.BLL
{

    public partial class AnalyseBLL
    {
        public Analyse Add(Analyse analyse)
        {
            return new AnalyseDAL().Add(analyse);
        }

        public int DeleteById(int id)
        {
            return new AnalyseDAL().DeleteById(id);
        }

		public int Update(Analyse analyse)
        {
            return new AnalyseDAL().Update(analyse);
        }
        

        public Analyse GetById(int id)
        {
            return new AnalyseDAL().GetById(id);
        }
		public int GetTotalCount()
		{
			return new AnalyseDAL().GetTotalCount();
		}
		
		public IEnumerable<Analyse> GetPagedData(int minrownum,int maxrownum)
		{
			return new AnalyseDAL().GetPagedData(minrownum,maxrownum);
		}
		
		public IEnumerable<Analyse> GetAll()
		{
			return new AnalyseDAL().GetAll();
		}
    }
}
